package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: LotList
 * Author: XJH
 * Date: 2020/5/27 17:31
 * Description:
 * History:
 */
public class LotList implements Serializable {

    public LotList(String LOTID) {
        this.LOTID = LOTID;
    }

    public LotList(String LOTID, String MAINQTY) {
        this.LOTID = LOTID;
        this.MAINQTY = MAINQTY;
    }

    public LotList(String LOTID, List<String> vehicleList) {
        this.LOTID = LOTID;
        this.ATTRIBUTE1 = vehicleList;
    }

    private String LOTID;

    private String MAINQTY;

    private List<String> ATTRIBUTE1;

    public List<String> getATTRIBUTE1() {
        if (ATTRIBUTE1 == null) {
            return new ArrayList<>();
        }
        return ATTRIBUTE1;
    }

    public void setATTRIBUTE1(ArrayList<String> ATTRIBUTE1) {
        this.ATTRIBUTE1 = ATTRIBUTE1;
    }

    public String getMAINQTY() {
        return MAINQTY == null ? "" : MAINQTY;
    }

    public void setMAINQTY(String MAINQTY) {
        this.MAINQTY = MAINQTY;
    }

    public String getLOTID() {
        return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    @Override
    public String toString() {
        return "LotList{" +
                "LOTID='" + LOTID + '\'' +
                ", MAINQTY='" + MAINQTY + '\'' +
                ", ATTRIBUTE1=" + ATTRIBUTE1 +
                '}';
    }
}
